CI: Add support for Ubuntu 24.04 Docker and DEB builds#1544
CI: Add support for Ubuntu 24.04 Docker and DEB builds#1544tuhaihe merged 2 commits intoapache:mainfrom
Conversation
|
Hi! Have you tried create demo cluster inside docker container? I created docker, successfully configure && build but got error while executing create-demo-cluster: Here is log of the initdb command: |
Hi, will go through the files once back from the holidays. Thanks! |
Hi, got the same error. A small patch: gpadmin@cdw:~/cloudberry$ git diff src/bin/initdb/initdb.c
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 708cf77f..17cb5488 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -2024,6 +2024,7 @@ setup_cdb_schema(FILE *cmdfd)
/* Collect all files with .sql suffix in array. */
nscripts = 0;
+ errno = 0;
while ((file = readdir(dir)) != NULL)
{
int namelen = strlen(file->d_name);But a more root patch here: tuhaihe@e9a4bb9 |
|
Found some key issues in Cloudberry to support building and running in Ubuntu 24.04. Related PR:
Maybe we can merge this PR first? |
leborchuk
left a comment
There was a problem hiding this comment.
All works fine here, all issues I found were from Cloudberry code, not fron build environment, I am sure we could merge it, building containers works as expected
This commit introduces comprehensive support for Ubuntu 24.04 (Noble Numbat) across build environments and packaging metadata. Key changes and package updates for Ubuntu 24.04: - Compiler Upgrade: Migrated from GCC/G++ 11 to GCC/G++ 13 to align with Noble's default toolchain. - Python 3.12 Migration: Updated system Python to 3.12. Removed python3-distutils as it has been deprecated and removed from Ubuntu 24.04 repositories (PEP 632). - t64 Transition: Updated DEB runtime dependencies to include the 't64' suffix (e.g., libssl3t64, libapr1t64, libcurl4t64) to comply with Noble's mandatory 64-bit time_t ABI transition. - libcgroup Update: Switched from libcgroup1 to libcgroup2 to match the updated library names in Ubuntu 24.04. - PIP Compliance: Added --break-system-packages flag for PIP installations within the Dockerfile to satisfy PEP 668 requirements.
c08991c to
0fa0268
Compare
This commit introduces comprehensive support for Ubuntu 24.04 (Noble Numbat) across build environments and packaging metadata.
Key changes and package updates for Ubuntu 24.04:
Fixes #ISSUE_Number
What does this PR do?
Type of Change
Breaking Changes
Test Plan
make installcheckmake -C src/test installcheck-cbdb-parallelImpact
Performance:
User-facing changes:
Dependencies:
Checklist
Additional Context
CI Skip Instructions